package com.example.by.mdb.util;

import android.app.AlertDialog;
import android.content.Context;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by BY on 2016/3/4.
 */
public class Util {
    public static String fileName(String name) {
        Date date = new Date();
        SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
        String time = format.format(date);
        name = name + time;
        return name;
    }

}
